﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IBS.Model;

namespace IBS.Bll.Accounts
{
    public class CurrencyValidator
    {
        private IIbsContext context;

        public CurrencyValidator(IIbsContext context)
        {
            this.context = context;
        }

        public bool IsValidAskRate(CurrencyExchangeRate rate)
        {
            return rate.AskRate > 0 && rate.BidRate > 0;
        }
    }
}
